dbg 0
halt
int C //Generate entropy
inc 2
crr 2 3 //Check if weve reached the end of the buffer
jge 2   //Get more entropy
ldp 4 2 
mod 5 4 1
crr 0 5
jlt 3 //Number was not divisible by 2, try again
jeq 0
init  //Program init
ldi 0 0
ldi 1 2  
ldi 2 40 //Pointer to end of system memory
ldi 3 81 //Pointer to end of RNG memory
jmp 2
halt